home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9690 < prev    next >
Encoding:
Text File  |  1996-08-05  |  749 b   |  31 lines

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: CGI
  5. Date: 12 Mar 1996 12:23:40 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4i4mgcINNp2m@keats.ugrad.cs.ubc.ca>
  8. References: <31458EAE.1D1E@hub.ofthe.net>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <31458EAE.1D1E@hub.ofthe.net>,
  12. WILLIAM C BROWN  <cb@hub.ofthe.net> wrote:
  13. >Has anybody done a CGI program in C?
  14. >Examples would be great also book and article recomendations.
  15.  
  16. Yeah, how about this:
  17.  
  18. #include <stdio.h>
  19.  
  20. int main()
  21.  
  22. {
  23.     puts("<html><head><title>Web sucks!</title></head><body>");
  24.     puts("<h1>Big Time!</h1>");
  25.     puts("</body></html>");
  26.  
  27.     return 0;
  28. }
  29. -- 
  30.  
  31.